package com.ycw.dao;

import java.util.List;

import com.ycw.pojo.Flatplay;
import com.ycw.pojo.pageIndex;

public interface FlatplayDao {

	public int count(); // 查询公寓活动总个数=========

	public List<Flatplay> getAllFlatplay(pageIndex pa); // 分页查询所有公寓活动============

	public List<Flatplay> getFlatplayDetail(Flatplay flatplay); // 根据id查看某一个公寓活动详情=============

	public int addFlatplayInfo(Flatplay flatplay); // 添加公寓活动信息============

	public int deleteFlatplayInfo(Flatplay flatplay); // 根据id删除某个公寓活动信息=============

	public int updateFlatplayInfo(Flatplay flatplay); // 根据id修改某个公寓活动信息============

	public int getSumByCondition(Flatplay flatplay); // 条件查询查总数

	public List<Flatplay> getFlatplayByCondition(Flatplay flatplay); // 根据条件分页查询
}
